<?php

namespace App\Http\Api\Controllers;

use App\Exceptions\InvalidRequestException;
use App\Http\Api\Services\SmsService;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;


class SmsController extends Controller
{
    public $service;
    public function __construct(SmsService $service)
    {
        $this->service = $service;
    }

    public function store(Request $request){

        $attributes = $request->all();

        $result = $this->service->store($attributes);

        echo 'OK';
    }


}
